package com.zmytest.one2many;

import com.zmytest.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;

/**
 * Created on 2018/12/24.
 *
 * @author zhangmingyu
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
public class Car extends BaseModel<Integer> {

    private String model;

    private Integer ownerId;
}
